package com.todocoder.gradle.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: todocoder
 * @date: 2023-08-21
 **/
@RestController
@RequestMapping("/api/todocoder")
public class TodoCoderController {

    @GetMapping("/helloword")
    public ResponseEntity<String> helloword() {
        return ResponseEntity.ok("helloword");
    }
}
